package org.hzero.exam.infra.mapper;

import io.choerodon.mybatis.common.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.hzero.exam.domain.entity.HodrCustomer;

import java.util.List;

/**
 * @author 马旭阳
 * @date2019/8/5
 */
public interface HodrCustomerMapper extends BaseMapper<HodrCustomer> {
    /**
     * 根据客户编号和客户名称查询客户信息
     * @param customerNumber 客户编号
     * @param customerName 客户名称
     * @return org.hzero.exam.domain.entity.HodrCustomer
     */
     List<HodrCustomer> selectByCustomerNumberAndName(@Param("customerNumber") String customerNumber, @Param("customerName") String customerName);

    /**
     * 根据客户编码查询客户信息
     * @param customerNumber
     * @return org.hzero.exam.domain.entity.HodrCustomer
     */
    HodrCustomer selectByCustomerNumber(@Param("customerNumber") String customerNumber);
}
